<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Coin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-coin_id" data-rule="required" data-source="coin/index" class="form-control selectpage" name="row[coin_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Electricity_bill')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-electricity_bill" data-rule="required" class="form-control" step="0.0000000001" name="row[electricity_bill]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Power')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-power" data-rule="required" class="form-control" name="row[power]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Electric_charge_day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-electric_charge_day" data-rule="required" class="form-control" step="0.0000000001" name="row[electric_charge_day]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Computing_power')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-computing_power" data-rule="required" class="form-control" step="0.0000000001" name="row[computing_power]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Per_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-per_unit" data-rule="required" class="form-control" step="0.0000000001" name="row[per_unit]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Earnings_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-earnings_date" data-rule="required" class="form-control" name="row[earnings_date]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.0000000001" name="row[price]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Real_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-real_price" data-rule="required" class="form-control" step="0.0000000001" name="row[real_price]" type="number" value="0.0000000000">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
